package com.res.share;

import com.res.share.config.FileProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan(value = "com.res.share.mapper")//配置mapper扫描 成功运行
@SpringBootApplication
@EnableConfigurationProperties({FileProperties.class})
@EnableScheduling
public class ResShareApplication {

    public static void main(String[] args) {
        SpringApplication.run(ResShareApplication.class, args);
    }

}
